Skip to content

chore(deps): upgrade Vite+ to 0.3.2 and Vitest to 4.1.11 - #3215

Merged
james-elicx merged 4 commits into
cloudflare:mainfrom
fengmk2:chore/upgrade-vite-plus-0.3.1
Sep 14, 2026
Merged

james-elicx merged 4 commits into
cloudflare:mainfrom
fengmk2:chore/upgrade-vite-plus-0.3.1

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Upgrade vite-plus and the vite alias from 0.2.6 to 0.3.1. Update vitest and @vitest/coverage-istanbul from 4.1.10 to 4.1.11. Group these packages in .github/dependabot.yml so Dependabot updates them together.

The release includes Rolldown 1.2.7 and Oxc 0.148.0. Rolldown PR #10809 fixes the default-parameter scope analysis reported in issue #10779. That error could prevent removal of a dead dynamic import from a server build. The existing production branch-pruning regression passes with this release.

Oxlint changes from 1.75.0 to 1.81.0. Since 1.79.0, no-redeclare also checks ES modules (PR #25691). Two intentional next/document declaration merges therefore need narrow ignores. Remove an unused underscore parameter reported after PR #25663. React diagnostics also require code changes because this repository uses denyWarnings: true.

The React fixes derive benchmark controls from URL state and reset local state when its input changes. Narrow exceptions preserve router ref timing, committed snapshots, client-only mount behavior, and legacy Link refs. The overlay resets frame visibility without remounting its dialog. This preserves pagination focus, as Next.js does. A browser regression test checks consecutive Enter presses in both directions and frame visibility after error changes.

The bundled tsdown version changes to 0.23.0. Update package configurations to use deps.neverBundle and select dts.generator explicitly. Set deps.resolveDepSubpath to preserve the previous behavior.

Move tests/dynamic-requests-build.test.ts to the integration project. These tests start Vite servers and exceeded the unit project's five-second limit in CI. They now use the existing integration timeout and worker limits, with no assertion changes.

Before submission, unit tests, integration tests, browser tests, performance checks, and quality checks passed. All ten example builds also passed.

@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vinext/cloudflare

npm i https://pkg.pr.new/cloudflare/vinext/@vinext/cloudflare@3215

create-vinext-app

npm i https://pkg.pr.new/cloudflare/vinext/create-vinext-app@3215

@vinext/types

npm i https://pkg.pr.new/cloudflare/vinext/@vinext/types@3215

vinext

npm i https://pkg.pr.new/cloudflare/vinext@3215

@cloudflare/workers-response-store

npm i https://pkg.pr.new/cloudflare/vinext/@cloudflare/workers-response-store@3215

commit: 0b5a5f9

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared 353bd25 against base cdcffea using alternating same-runner rounds. Next.js was unchanged and skipped.

3 improved · 1 regressed · 2 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 142.2 KB 142.2 KB ⚫ -0.0%
Client entry size (gzip) vinext 129.6 KB 129.6 KB ⚫ +0.0%
Dev server cold start vinext 2.69 s 2.64 s 🟢 -2.0%
Production build time vinext 2.80 s 2.85 s 🔴 +1.7%
RSC entry closure size (gzip) vinext 125.8 KB 121.0 KB 🟢 -3.8%
Server bundle size (gzip) vinext 216.5 KB 211.0 KB 🟢 -2.5%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

@james-elicx

Copy link
Copy Markdown
Member

/bigbonk review for issues. 8 min time limit.

@ask-bonk

ask-bonk Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

@fengmk2
fengmk2 force-pushed the chore/upgrade-vite-plus-0.3.1 branch 2 times, most recently from a66b9d9 to 91b14b6 Compare September 14, 2026 17:07
@fengmk2
fengmk2 force-pushed the chore/upgrade-vite-plus-0.3.1 branch from 91b14b6 to 353bd25 Compare September 14, 2026 17:17
@fengmk2

fengmk2 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Duplicates PR #3252

@fengmk2 fengmk2 closed this Sep 14, 2026
@james-elicx james-elicx reopened this Sep 14, 2026
@james-elicx
james-elicx enabled auto-merge (squash) September 14, 2026 18:53
@james-elicx james-elicx changed the title chore(deps): upgrade Vite+ to 0.3.1 and Vitest to 4.1.11 chore(deps): upgrade Vite+ to 0.3.2 and Vitest to 4.1.11 Sep 14, 2026
@james-elicx
james-elicx enabled auto-merge (squash) September 14, 2026 18:53
@james-elicx
james-elicx merged commit 5dd43c0 into cloudflare:main Sep 14, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants